<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html charset=utf-8"/>
        <title>First page</title>
        <style type="text/css">
        *{
            font-size: 14px;
            margin: 0;
            padding: 0;
            border: 0;
            text-align: left;
            vertical-align: top;
            box-sizing: border-box;
        }
        body{
            background-color: #efefef;
        }
        #layout{
            width: 1080px;
            margin: 5px auto;
            border: 1px solid black;
        }
        #layout>#header{
            width: 100%;
            height: 90px;
            background-color: darkgray;
        }
        #layout>#main{
            width: 100%;
            min-height: 150px;
            background-color: #eeeeee;
        }
        #layout>#footer{
            width: 100%;
            height: 40px;
            background-color: dimgray;
            padding: 5px;
        }
        #layout>#footer #copyright *{
            text-align: center;
        }
        #layout>#header>div:first-child{
            height: 60px;
            padding: 5px;
        }
        #layout>#header #main-menu{
            width: 100%;
            height: 30px;
            background-color: black;
            color: white;
        }
        #layout>#header>div:first-child h1{
            font-size: 20px;
            color: #333333;
        }
        #layout>#header #user-info{
            text-align: right;
        }
        .mainMenu{
            list-style-type: none;
        }
        .mainMenu>li{
            display: inline-block;
            width: 50px;
            height: 30px;
            padding: 5px 10px;
        }
        .mainMenu>li:hover{
            background-color: #666666;
        }

        .container{
            padding: 0;margin: 0;border: 0;
            display: table;
            width: 100%;
        }
        .container>.col-1,.container>.col-2,.container>.col-3,.container>.col-4,.container>.col-5,.container>.col-6,
        .container>.col-7,.container>.col-8,.container>.col-9,.container>.col-10,.container>.col-11,.container>.col-12
        {
            padding: 0;margin: 0;border: 0;
            display: table-cell;
        }
        .container>.col-1{
            width: 8.33333%;
        }
        .container>.col-2{
            width: 16.66666%;
        }
        .container>.col-3{
            width: 25%;
        }
        .container>.col-4{
            width: 33.33333%;
        }
        .container>.col-5{
            width: 41.66667%;
        }
        .container>.col-6{
            width: 50%;
        }
        .container>.col-7{
            width: 58.33333%;
        }
        .container>.col-8{
            width: 66.66666%;
        }
        .container>.col-9{
            width: 75%;
        }
        .container>.col-10{
            width: 83.33333%;
        }
        .container>.col-11{
            width: 91.66667%;
        }
        .container>.col-12{
            width: 100%;
        }
        </style>
    </head>
    <body>
        <div id="layout">
            <div id="header">
                <div class="container">
                    <h1 class="col-9">我的博客系统</h1>
                    <div id="user-info" class="col-3">
                        <span id="user-name">Crow</span>
                        <a>退出</a>
                    </div>
                </div>
                <div id="main-menu">
                    <ul class="mainMenu">
                        <li>首页</li>
                        <li>文章</li>
                        <li>用户</li>
                        <li>管理</li>
                    </ul>
                </div>
            </div>
            <div id="main">
                <div id="workspace"></div>
                <div id="extras"></div>
            </div>
            <div id="footer">
                <div id="quick-access"></div>
                <div id="copyright">
                    <p>Crow All right reserved.</p>
                </div>
            </div>
        </div>


    </body>
</html>